Project(Tutorial2)

FILE(GLOB SRCS *.cpp *.h)
ADD_LIBRARY(Tutorial2 SHARED ${SRCS})
TARGET_LINK_LIBRARIES(Tutorial2 ${APP_LIBRARIES_WINDOWS} debug Blobz_d.lib optimized Blobz.lib ${QT_LIBRARIES})

SET_TARGET_PROPERTIES(Tutorial2 PROPERTIES SUFFIX ".nui")

IF(WIN32)
	INSTALL(TARGETS Tutorial2 RUNTIME DESTINATION ${NUI_APP_DIR}/Tutorial2)
ELSE(WIN32)
	INSTALL(TARGETS Tutorial2 LIBRARY DESTINATION ${NUI_APP_DIR}/Tutorial2)
ENDIF(WIN32)
